package JAVACORE_TRAINING.OOPS_CONCEPTS.ARRAY_AND_COLLECTIONS.STATIC_ARRAYS.EXAMPLES;

public class Controllers {
	public double SumOfArray(double[] myDouble) {
        return new Models().SumOfElement(myDouble);
    }
	
	public double FindMax(double[] myList) {
        return new Models().FindMaxElement(myList);
    }

    public double FindMin(double[] myList) {
        return new Models().FindMinElement(myList);
    }
    
    public String IndexMaxString(double[] myList, double iValue) {
        return new Models().IndexMaxStringElements(myList, iValue);
    }

    public double[] IndexMaxValue(double[] myList, double iValue) {
        return new Models().IndexMaxElement(myList, iValue);
    }
}
